import { Column, Entity, PrimaryColumn } from "typeorm";

@Entity('settle')
export class Settle {
    @PrimaryColumn()
    id: number

    @Column({ name: "playWithId", type: "text", comment: "陪玩id" })
    playWithId: string

    @Column({ name: "playWithName", type: "text", comment: "陪玩名称" })
    playWithName: string

    @Column({ name: "settleAmount", type: "decimal", comment: "结算金额" })
    settleAmount: number

    @Column({ name: "settleStatus", type: "text", comment: "结算状态 0未结算 1需要结算" })
    settleStatus: string
}
